Skip to content

Conversation

@DustinCampbell
Copy link
Member

@DustinCampbell DustinCampbell commented May 8, 2024

This change should address issues in ProjectWorkspaceStateGenerator where update cancellation was tied to the base IDisposable implementation in a complex way. This could cause exceptions to be thrown unnecessarily if the generator is disposed while an update is in flight. Now we just track a boolean field as we did in the past.

Validation PR to determine impact: https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/549802

This change should address issues in ProjectWorkspaceStateGenerator where update cancellation was tied to the base IDisposable implementation in a complex way. This could cause exceptions to be thrown unnecessarily if the generator is disposed while an update is in flight. Now we just track a boolean field as we did in the past.
@DustinCampbell DustinCampbell requested a review from a team as a code owner May 8, 2024 19:10
{
try
{
_logger.LogTrace($"Felt cute, might release a semaphore later, for '{projectSnapshot.Key}'");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My whimsy 😔

(it's fine)

@DustinCampbell
Copy link
Member Author

OK. I think this is decent. There's a new image load for Microsoft.CodeAnalysis.Razor.Workspaces, but it looks to me like that's related to co-hosting. I've posted in Teams to see if we can find a solution to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants